* {
    box-sizing: border-box;
}

html, body {
    min-height: 100%;
}

html {
    font-family: sans-serif;
    font-size: 10px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

:after, :before {
    box-sizing: border-box;
}

.login-page, .register-page {
    background: #d2d6de;
}

body {
    -webkit-font-smoothing: antialiased;
    font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    overflow-x: hidden;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    margin: 0;
}

.login-box, .register-box {
    width: 450px;
    max-width: 100%;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.login-logo, .register-logo {
    font-size: 35px;
    text-align: center;
    font-weight: 300;
    font-family: YouYuan, 'Microsoft YaHei', sans-serif;
}

.login-logo a, .register-logo a {
    color: #444;
}

.login-title {
    width: 100%;
    font-size: 35px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
}

a {
    text-decoration: none;
    background-color: transparent;
}

.login-box-body, .register-box-body {
    margin: 0 auto;
    width: 360px;
    background: #fff;
    color: #666;
    border: 4px solid #666666;
}

.login-box-form {
    width: 100%;
    height: 100%;
    padding: 20px 20px 50px;
}

.login-box-msg, .register-box-msg {
    margin: 0;
    text-align: left;
    padding: 0 20px 20px 20px;
}

#login-failed {
    max-width: 25em;
}

#login-failed {
    border: 2px solid #b22222;
    padding: 7px;
    margin: 5px 5px 15px 5px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    color: white;
    background-color: #b22222;
    max-width: 500px;
}

.has-feedback {
    position: relative;
}

.form-group {
    margin-bottom: 15px;
}

.has-feedback .form-control {
    padding-right: 42.5px;
}

.form-control:not(select) {
    -webkit-appearance: none;
}

.form-control {
    border-radius: 0;
    box-shadow: none;
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

button, input, select, textarea {
    font-family: inherit;
}

button, input, optgroup, select, textarea {
    margin: 0;
    font: inherit;
}

.login-box-body .form-control-feedback, .register-box-body .form-control-feedback {
    color: #777;
}

.form-control-feedback {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    display: block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    pointer-events: none;
}

.glyphicon {
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

.row {
    margin-right: -15px;
    margin-left: -15px;
}

.col-xs-8 {
    width: 66.66666667%;
}

.col-xs-offset-4 {
    margin-left: 33.33333333%;
}

.col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
    float: left;
}

.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.btn.btn-flat {
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border-width: 1px;
}

.btn-primary {
    color: #fff;
    /*background-color: #3c8dbc;*/
    background-color: #0849A3;
    border-color: #367fa9;
}

.btn-success {
    color: #fff;
    /*background-color: #5cb85c;*/
    background-color: #287400;
    border-color: #4cae4c;
}

.btn {
    border: 1px solid transparent;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    user-select: none;
    background-image: none;
}

.btn-block {
    display: block;
    width: 100%;
}

button, html input[type=button], input[type=reset], input[type=submit] {
    -webkit-appearance: button;
}

button, select {
    text-transform: none;
}

button {
    overflow: visible;
}

.col-xs-offset-8 {
    margin-left: 66.66666667%;
}

#a-login-background {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
}

#a-login-background img {
    width: 100%;
    height: 100%;
}

.toolbar {
    clear: both;
    height: 30px;
    background-color: rgb(8, 73, 163);
    border-top: 1px solid #597597;
    font-family: 'Open Sans';
    font-size: 10px;
    color: #ffffff;
    line-height: 30px;
}

.clearfix:before, .clearfix:after {
    display: table;
    content: " ";
}

.clearfix:after {
    clear: both;
}

.toolbar div {
    width: 100%;
    text-align: right;
    padding-right: 20px;
}

.red {
    color: #dd5a43 !important;
}

.white {
    color: #fff !important;
}